package com.developer.platform.domain.security;

/**
 * @author ：qiaoliang
 * @date ：2020-10-19
 */
public class GrantedAuthority implements org.springframework.security.core.GrantedAuthority {

    private String authority;

    public GrantedAuthority() {
    }

    public GrantedAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

}
